<?php
include 'class-admin.php';
include 'config.php';
$con = new ConfigDB();
$obj=new Admin();

$obj->adminEditSubject($_POST['sub_id'],$_POST['subject_id'],$_POST['subject_name'],$_POST['subject_teacher'],$_POST['subject_faculty']);
$obj->adminEditStudent($_POST['student_id'],$_POST['student_firstname'],$_POST['student_lastname'],$_POST['student_ncuid'],$_POST['student_email'],$_POST['student_tel'],$_POST['student_faculty']);
$obj->adminEditTeacher($_POST['teacher_id'],$_POST['teacher_firstname'],$_POST['teacher_lastname'],$_POST['teacher_ncuid'],$_POST['teacher_email'],$_POST['teacher_tel'],$_POST['teacher_faculty']);
$obj->adminEditInformation($_POST['inf_id'],$_POST['inf_title'],$_POST['inf_date_end'],$_POST['inf_detail']);
?>